package com.geniusk.chat.enums;

/**
 * 发送消息的动作 枚举
 */
public enum ChatActionEnum {
	
	CONNECT(10, "建立连接"),
	UNREAD(20, "查看未读数量"),
	MESSAGE(30, "查看消息列表"),
	CHAT(40, "查看聊天内容"),
	SEND(50, "发送消息"),
	RECEIVE(60, "接收消息"),
	SIGNED(70, "签收消息"),
	DELETE(75, "消息删除"),
	KEEPALIVE(80, "心跳保持");
	
	public final Integer type;
	public final String content;
	
	ChatActionEnum(Integer type, String content){
		this.type = type;
		this.content = content;
	}
	
	public Integer getType() {
		return type;
	}  
}
